package com.baiyang.server.model.book;

import com.baiyang.server.annotation.NotNull;

/**
 * @author XVX - generator
 * @version 1
 */
@NotNull
public class Resources {
	//唯一id
	@NotNull
	private String id;	
	//关联id
	@NotNull
	private String relationId;	
	//关联类型
	@NotNull
	private String relationType;	
	//资源类型
	@NotNull
	private String resourcesType;	
	//地址
	@NotNull
	private String path;
	// 显示顺序
	private int showIndex;
	//创建时间
	private String createTime;	
	//创建人
	@NotNull
	private String createBy;
	private String createName;
	//是否删除：1-删除，0-不删除
	private String del = "0";
	
	public String getId(){
		return id;
	}
	public void setId(String id){
		this.id = id;
	}
	public String getRelationId(){
		return relationId;
	}
	public void setRelationId(String relationId){
		this.relationId = relationId;
	}
	public String getRelationType(){
		return relationType;
	}
	public void setRelationType(String relationType){
		this.relationType = relationType;
	}
	public String getResourcesType(){
		return resourcesType;
	}
	public void setResourcesType(String resourcesType){
		this.resourcesType = resourcesType;
	}
	public String getPath(){
		return path;
	}
	public void setPath(String path){
		this.path = path;
	}
	public String getCreateTime(){
		return createTime;
	}
	public void setCreateTime(String createTime){
		this.createTime = createTime;
	}
	public String getCreateBy(){
		return createBy;
	}
	public void setCreateBy(String createBy){
		this.createBy = createBy;
	}
	public String getDel(){
		return del;
	}
	public void setDel(String del){
		this.del = del;
	}

	public String getCreateName() {
		return createName;
	}

	public void setCreateName(String createName) {
		this.createName = createName;
	}

	public int getShowIndex() {
		return showIndex;
	}

	public void setShowIndex(int showIndex) {
		this.showIndex = showIndex;
	}
}
